import Vue from 'vue'
import VueRouter from 'vue-router'

import MSite from '../pages/Msite/Msite.vue'
import Search from '../pages/Search/Search.vue'
import Order from '../pages/Order/Order.vue'
import Profile from '../pages/Profile/Profile.vue'
import Shopping from "../pages/Shopping/Shopping"
import denglu from "../pages/Sign/denglu";
import myself from "../pages/Sign/myself";

Vue.use(VueRouter)


export default new VueRouter({
  routes: [
    {
      path: '/',
      redirect: '/MSite'
    },
    {
      path: '/MSite',
      name:'MSite',
      component: MSite,
    },
    {
      path: '/Search',
      name:'Search',
      component: Search,
    },
    {
      path: '/Order',
      name:'Order',
      component: Order,
    },
    {
      path: '/Profile',
      name:'Profile',
      component: Profile,
    },
    {
      path: '/Shopping',
      name:'Shopping',
      component: Shopping,
    },
    {
      path: '/denglu',
      name:'denglu',
      component: denglu,
    },
    {
      path: '/myself',
      name:'myself',
      component: myself,
    }
  ]
})
